package com.itheima.pinda.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pinda.DTO.truck.TruckDto;
import com.itheima.pinda.common.utils.PageResponse;
import com.itheima.pinda.entity.truck.PdTruck;

import java.util.List;

public interface PdTruckService extends IService<PdTruck> {


    TruckDto saveTruck(TruckDto dto);

    PageResponse<TruckDto> findByPage(Integer page,
                                      Integer pageSize,
                                      String truckTypeId,
                                      String licensePlate,
                                      String fleetId);

    List<TruckDto> findAll(List<String> ids, String fleetId);

    void disableById(String id);
}
